package com.itheima.project.hystrix;

import com.itheima.project.basic.ResponseWrap;
import com.itheima.project.feign.CustomerAdapterFeign;
import com.itheima.project.vo.security.CustomerVo;
import com.itheima.project.vo.security.ResourceVo;
import com.itheima.project.vo.security.RoleVo;
import com.itheima.project.vo.security.UserVo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName CustomerAdapterHystrix.java
 * @Description CustomerAdapterFeign的Hystrix
 */
@Component
public class CustomerAdapterHystrix implements CustomerAdapterFeign {


    @Override
    public ResponseWrap<UserVo> findCustomerByUsernameAndEnterpriseId(String username, Long enterpriseId) {
        return null;
    }

    @Override
    public ResponseWrap<UserVo> findCustomerByMobileAndEnterpriseId(String mobile, Long enterpriseId) {
        return null;
    }

    @Override
    public ResponseWrap<UserVo> findCustomerByOpenIdAndEnterpriseId(String openId, Long enterpriseId) {
        return null;
    }

    @Override
    public ResponseWrap<List<RoleVo>> findRoleByCustomerId(Long customerId) {
        return null;
    }

    @Override
    public ResponseWrap<List<ResourceVo>> findResourceByCustomerId(Long customerId) {
        return null;
    }

    @Override
    public ResponseWrap<UserVo> findCurrentCustomer(Long customerId) {
        return null;
    }

    @Override
    public ResponseWrap<CustomerVo> registerUser(CustomerVo customerVo) {
        return null;
    }
}
